//      plugin.h
//      
//      Copyright 2012 Mukesh <mukesh_fun2010@yahoo.in>
//      
//      This program is free software; you can redistribute it and/or modify
//      it under the terms of the GNU General Public License as published by
//      the Free Software Foundation; either version 2 of the License, or
//      (at your option) any later version.
//      
//      This program is distributed in the hope that it will be useful,
//      but WITHOUT ANY WARRANTY; without even the implied warranty of
//      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//      GNU General Public License for more details.
//      
//      You should have received a copy of the GNU General Public License
//      along with this program; if not, write to the Free Software
//      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
//      MA 02110-1301, USA.


/*		Currently, plugin() is called internally by ui()
 */

#ifndef PLUGIN_H
#define PLUGIN_H

#include <gtk/gtk.h>
#include <gmodule.h>

#include "common.h"

typedef struct _GesbianPlugin {
	
	// UI Related stuff
	GtkWindow * window ;
	GtkLabel * title ;
	
	GtkListStore * store ;
	GtkSpinner * spinner ;
	GtkProgressBar * progressbar ;
	GtkStatusbar * statusbar ;
	GtkIconView * iconview ;
	GtkButton * back, * next, * home, * stop, * up ;
	GtkWidget * addressbar, * addressbar_button ;
	GtkEntry * locationbar ;
	GtkButton * locationbar_go ;
	GtkLabel * preview_label ;
	GtkImage * preview_image ; 
	
	// Browsing
	GList * history ;
	gint history_marker ;
	gint event_id ;
} GesbianPlugin ;

#endif
